leetcode 344 solution in python

visit shbcf.ru